package de.tabuma.lib.cm.crud;

import de.tabuma.lib.contentmanagement.*;
import de.tabuma.lib.contentmanagement.entity.Content;
import javax.servlet.http.*;

/**
 *
 * @author alefen
 */
public class ListControllerFacade {
    public static void controller(Content content, HttpServletRequest request) {
        request.setAttribute(content.GeneralContent.getParamName(), constants.LIST);
        request.setAttribute(constants.OBJECT_LIST, content.FormContent.getFacadeObject().getElementList(content.ListContent.getListParameterValue()));
    }
}
